import React, {Component} from 'react';
import {Link} from 'react-router-dom';
import routes from '../Home/routes';
import style from './style.less';

class List extends Component {
    render(){
        return (
            <div className={style.list}>
                {routes.map(v=>{
                    return (
                        <Link to={v.path} key={v.path}>
                        {v.title}
                        </Link>
                    )
                })}
                <p>更多功能，敬请期待</p>
            </div>
        )
    }
}

export default List